package com.system.healthproject.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel
public class DiseaseOnsetType {
    @ApiModelProperty(name = "diseaseonsettypeId",notes = "综合症类型id")
    private Integer diseaseonsettypeId;
    @ApiModelProperty(name = "diseaseonsettypeName",notes = "综合症类型名称")
    private String diseaseonsettypeName;

    public DiseaseOnsetType() {
    }

    public DiseaseOnsetType(Integer diseaseonsettypeId, String diseaseonsettypeName) {
        this.diseaseonsettypeId = diseaseonsettypeId;
        this.diseaseonsettypeName = diseaseonsettypeName;
    }


    @ApiModelProperty(name = "createtime",notes = "创建时间")
    private Date createtime;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column diseaseOnsetType.diseaseOnsetType_id
     *
     * @return the value of diseaseOnsetType.diseaseOnsetType_id
     *
     * @mbg.generated
     */
    public Integer getDiseaseonsettypeId() {
        return diseaseonsettypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column diseaseOnsetType.diseaseOnsetType_id
     *
     * @param diseaseonsettypeId the value for diseaseOnsetType.diseaseOnsetType_id
     *
     * @mbg.generated
     */
    public void setDiseaseonsettypeId(Integer diseaseonsettypeId) {
        this.diseaseonsettypeId = diseaseonsettypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column diseaseOnsetType.diseaseOnsetType_name
     *
     * @return the value of diseaseOnsetType.diseaseOnsetType_name
     *
     * @mbg.generated
     */
    public String getDiseaseonsettypeName() {
        return diseaseonsettypeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column diseaseOnsetType.diseaseOnsetType_name
     *
     * @param diseaseonsettypeName the value for diseaseOnsetType.diseaseOnsetType_name
     *
     * @mbg.generated
     */
    public void setDiseaseonsettypeName(String diseaseonsettypeName) {
        this.diseaseonsettypeName = diseaseonsettypeName == null ? null : diseaseonsettypeName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column diseaseOnsetType.createTime
     *
     * @return the value of diseaseOnsetType.createTime
     *
     * @mbg.generated
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column diseaseOnsetType.createTime
     *
     * @param createtime the value for diseaseOnsetType.createTime
     *
     * @mbg.generated
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
